<style>
	@import url('../static/css/game.css');
</style>
<template>
	<!-- 数字迷宫 -->
	<game-numbermaze :code="code"  :project_make_id="project_make_id"   :project_id="project_id"  :gametype="gametype" :initiator="initiator"></game-numbermaze>
</template>
 <script>
 	export default {
 		data() {
 			return {
 				code:'',//编码
 				project_make_id:'',//赛事
 				project_id:'',//项目
 				gametype:'',//对战类型
 				initiator:'',//发起人
 			}
 		},
 		onLoad(option = '') {
 			console.log(option)
 			var that=this;
 			//对战发起
 			if(option){
 				that.code=option.code;//编码
 				that.project_make_id=option.make;//赛事
 				that.project_id=option.id;//项目
 				that.gametype=option.type;//对战类型
 				that.initiator=option.initiator;//发起人
 			}
 		},
 	 }
 </script>